package com.dy.nygl.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.nygl.mapper.AlertTypeMapper;
import com.dy.nygl.pojo.AlertType;
import com.dy.nygl.service.AlertTypeService;

@Service("alertTypeService")
public class AlertTypeServiceImpl implements AlertTypeService{

	@Resource(name="alertTypeDAO")
	private AlertTypeMapper alertTypeDAO;

	@Override
	public AlertType getAlertTypeById(int id) {
		
		return alertTypeDAO.getAlertTypeById(id);
	}
	
	
}
